Camoo\Pay\WooCommerce\WC_CamooPay_Gateway S

Total Complexity 40
Dependencies 15
Dependents 1
Total lines 512
Lines of code 391
Logical lines of code 138
Comment lines 30
Methods 15
Properties 5

Methods 15

Method Rating Maintainability Complexity Lines of code
onNotification()
A
43 7 53
process_payment()
A
42 6 51
init_form_fields()
S
39 1 81
validate_fields()
S
55 4 21
payment_fields()
S
49 3 35
process_admin_options()
S
49 3 33
prepareOrderData()
S
46 2 38
__construct()
S
55 3 18
get_icon()
S
55 2 20
placeOrder()
S
59 2 15
handleOrderResponse()
S
63 2 11
normalizeXafAmount()
S
70 2 6
can_refund_order()
S
82 1 3
registerHooks()
S
78 1 3
getWcOrder()
S
79 1 3